<template>
  <div class="box">
    <div>
      <router-link to="/book/hot" > 最新</router-link> <br>
      <router-link :to="{ path: '/book/following' }"> 关注</router-link> <br>
    </div>
    <div>
      <!-- 显示路由页面 -->
      <router-view></router-view>
    </div>
  </div>
</template>

<script setup>
 
</script>

<style  scoped>
.box div{
  float: left;
  height: 400px;
}
.box :first-child{
  width: 50%;
  background-color:aqua;
}
.box :last-child{
  width: 50%;
  background-color:red;
}
</style>

